1: | minus(x,0) | → x | |
2: | minus(s(x),s(y)) | → minus(x,y) | |
3: | quot(0,s(y)) | → 0 | |
4: | quot(s(x),s(y)) | → s(quot(minus(x,y),s(y))) | |
5: | plus(0,y) | → y | |
6: | plus(s(x),y) | → s(plus(x,y)) | |
7: | minus(minus(x,y),z) | → minus(x,plus(y,z)) | |
8: | MINUS(s(x),s(y)) | → MINUS(x,y) | |
9: | QUOT(s(x),s(y)) | → QUOT(minus(x,y),s(y)) | |
10: | QUOT(s(x),s(y)) | → MINUS(x,y) | |
11: | PLUS(s(x),y) | → PLUS(x,y) | |
12: | MINUS(minus(x,y),z) | → MINUS(x,plus(y,z)) | |
13: | MINUS(minus(x,y),z) | → PLUS(y,z) | |